package com.goods.common.model.business;

import com.goods.common.annotation.CreateTime;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@Table(name = "biz_health")
public class Health {

    @Id
    private Long id;

    @NotBlank(message="地址不能为空")
    private String address;

    private Long userId;

    private Integer situation;

    private Integer touch;

    private Integer passby;

    private Integer reception;

    @CreateTime
    private Date createTime;
}
